package com.pmcc.platform.user.repository;

import com.pmcc.platform.user.entity.MinShoppingUserInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import javax.validation.constraints.Min;
import java.util.List;

/**
 * @author xuelongke
 * @version 1.0
 * @date 2020/12/25 10:36
 */
public interface MinShoppingUserInfoRepository extends JpaRepository<MinShoppingUserInfo, String> {

    List<MinShoppingUserInfo> findAllByOpenIdAndDelFlag(String openId, String delFlag);

    List<MinShoppingUserInfo> findAllByCode(String code);

    MinShoppingUserInfo findAllByIdAndDelFlag(String id,String delFLag);


}
